import Vue from 'vue'
import App from './App.vue'
// 在main.js引入就称为全局引入
// @就相当于src目录
import '@/styles/reset.less'

import { Toast, Button, Uploader, Dialog, Field, Picker, Icon, Tab, Tabs, List, PullRefresh } from 'vant'
Vue.use(Toast)
    .use(Button)
    .use(Uploader)
    .use(Dialog)
    .use(Field)
    .use(Picker)
    .use(Icon)
    .use(Tab)
    .use(Tabs)
    .use(List)
    .use(PullRefresh)

// 引入路由模块
import router from '@/router/index.js'


Vue.config.productionTip = false

new Vue({
    router,
    render: h => h(App),
}).$mount('#app')